<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if( !function_exists('get_id_from_name') ){
	function get_id_from_name($name){
		return preg_replace('/[^A-z0-9]+/', '_', strtolower($name));
	}
}

?>